package com.zdlee.netty.server9.response;

import com.zdlee.netty.server9.command.Packet;
import lombok.Data;

import static com.zdlee.netty.server9.command.Command.LOGIN_RESPONSE;

/**
 * @author zdlee
 * @description: ${DESCRIPTION}
 * @create 2018-11-29 13:59
 */
@Data
public class LoginResponsePacket extends Packet {

    private boolean success;

    private String reason;

    @Override
    public Byte getCommand() {
        return LOGIN_RESPONSE;
    }
}
